package com.yyn.seckill.mapper;

import com.yyn.seckill.entity.Goods;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yyn.seckill.entity.dto.GoodDetialListDto;
import com.yyn.seckill.entity.dto.GoodListDto;

import java.util.List;

/**
 * <p>
 * 商品表 Mapper 接口
 * </p>
 *
 * @author yyn
 * @since 2023-01-21
 */
public interface GoodsMapper extends BaseMapper<Goods> {
    List<GoodListDto> goodList();
    GoodDetialListDto goodDetialList(String goodId);
}
